# -*- coding: utf-8 -*-
"""
@Author: Logan
@Date:   2025/7/9 18:17
@Description: 
"""
import ddddocr


def identify_verification_code(img_path):
    ocr = ddddocr.DdddOcr()
    with open(img_path, 'rb') as f:
        img_bytes = f.read()
    result = ocr.classification(img_bytes)
    return result
